<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

</head>
<link href="style/bootstrap.min.css" rel="stylesheet">

<script type="text/javascript" src="script/jquery.js"></script>
<script type="text/javascript" src="script/addProduct.js"></script>

<style type="text/css">
body {
	padding-top: 70px;
}

.xlarge {
	height: 28px;
}

.label {
	margin-left: 10px;
	font-size: 13px;
	display: none;
}
</style>
</head>
<body>
	<div class="topbar" data-dropdown="dropdown">
		<div class="topbar-inner">
			<div class="container">
				<h3>
					<a href="#">登录系统</a>
				</h3>
				<ul class="nav">
					<li class="active"><a href="#">主页</a></li>
					<li><a href="#">注册</a></li>
					<li><a href="#">帮助</a></li>
				</ul>

				<ul class="nav secondary-nav">
					<li class="dropdown"><a class="dropdown-toggle" href="#">Dropdown</a>
					</li>
				</ul>
			</div>
		</div>
	</div>


	<div class="container">

		<div class="span12">
		<s:actionerror/>
			<form action="update.jspx" method="post">
				<fieldset>
					<legend>商品修改</legend>
					<div class="clearfix">
						<label for="xlInput">商品名称：</label>
						<div class="input">
							<input id="xlInput" class="xlarge" type="text" size="30"
								name="product.productname" value="${product.productname }"
								maxlength="20" /> <span class="label important">产品名错误</span>
						</div>
					</div>
					<div class="clearfix">
						<label for="xlInput">价格：</label>
						<div class="input">
							<input id="xlInput" class="xlarge" type="text" size="30"
								name="product.price" value="${product.price }" maxlength="10" />
							<span class="label important">单价错误</span>
						</div>
					</div>
				</fieldset>
				<input type="hidden" name="product.id" value="${product.id }" /> <input
					type="hidden" name="type" value="updateProduct" />
				<div class="actions">
					<button class="btn primary" type="button">保存</button>
					<button class="btn" type="reset">取消</button>
				</div>
			</form>
		</div>

	</div>


</body>
</html>
